<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MolTK C++ API: moltk::PDBStructure Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="moltk55.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MolTK C++ API
   &#160;<span id="projectnumber">0.4.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacemoltk.html">moltk</a>      </li>
      <li class="navelem"><a class="el" href="classmoltk_1_1PDBStructure.html">PDBStructure</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">moltk::PDBStructure Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="moltk::PDBStructure" -->
<p><a class="el" href="classmoltk_1_1PDBStructure.html" title="PDBStructure represents a macromolecule structure as found in a Protein Data Bank file...">PDBStructure</a> represents a macromolecule structure as found in a Protein Data Bank file.  
 <a href="classmoltk_1_1PDBStructure.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PDBStructure_8hpp_source.html">PDBStructure.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for moltk::PDBStructure:</div>
<div class="dyncontent">
<div class="center"><img src="classmoltk_1_1PDBStructure__coll__graph.png" border="0" usemap="#moltk_1_1PDBStructure_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classmoltk_1_1PDBStructure-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure_1_1Atom.html">Atom</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure::Atom represents a chemical atom in a molecular structure.  <a href="classmoltk_1_1PDBStructure_1_1Atom.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure_1_1Chain.html">Chain</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmoltk_1_1PDBStructure_1_1Chain.html" title="Chain represents a single polymer or molecule in a PDBStructure.">Chain</a> represents a single polymer or molecule in a <a class="el" href="classmoltk_1_1PDBStructure.html" title="PDBStructure represents a macromolecule structure as found in a Protein Data Bank file...">PDBStructure</a>.  <a href="classmoltk_1_1PDBStructure_1_1Chain.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure_1_1Residue.html">Residue</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmoltk_1_1PDBStructure_1_1Residue.html" title="Residue represents a single amino acid or nucleotide residue, or a small molecule, in a macromolecule structure.">Residue</a> represents a single amino acid or nucleotide residue, or a small molecule, in a macromolecule structure.  <a href="classmoltk_1_1PDBStructure_1_1Residue.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="classmoltk_1_1PDBStructure_1_1Atom.html">Atom</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#ad5de261e14b5095d93a495e27351777b">AtomList</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#a855b6bcd33c82b21ebdc4c0f2c0cea6a">PDBStructure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#abc7125f7eb265856a5feb5c711784972">PDBStructure</a> (std::istream &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#a8298315b09a0e3a7f158fdebb56eb626">PDBStructure</a> (const std::string &amp;file_name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#adcf055acb239adf14d980333c89d8da0">PDBStructure</a> (const <a class="el" href="classmoltk_1_1PDBStructure.html">PDBStructure</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#a216700e937feb8857f30d1626d5ab9cf">load_stream</a> (std::istream &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#a4891c9ebd0345e15da4e30086628967d">load_file</a> (const std::string &amp;file_name)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmoltk_1_1PDBStructure.html#ad5de261e14b5095d93a495e27351777b">AtomList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#aa339055bdae2959af8baa08363630be5">atoms</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classmoltk_1_1PDBStructure_1_1Chain.html">Chain</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoltk_1_1PDBStructure.html#a1bcb7d83816e73d4bc21fbb46ce27220">chains</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classmoltk_1_1PDBStructure.html" title="PDBStructure represents a macromolecule structure as found in a Protein Data Bank file...">PDBStructure</a> represents a macromolecule structure as found in a Protein Data Bank file. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ad5de261e14b5095d93a495e27351777b"></a><!-- doxytag: member="moltk::PDBStructure::AtomList" ref="ad5de261e14b5095d93a495e27351777b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classmoltk_1_1PDBStructure_1_1Atom.html">Atom</a>&gt; <a class="el" href="classmoltk_1_1PDBStructure.html#ad5de261e14b5095d93a495e27351777b">moltk::PDBStructure::AtomList</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a855b6bcd33c82b21ebdc4c0f2c0cea6a"></a><!-- doxytag: member="moltk::PDBStructure::PDBStructure" ref="a855b6bcd33c82b21ebdc4c0f2c0cea6a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">moltk::PDBStructure::PDBStructure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abc7125f7eb265856a5feb5c711784972"></a><!-- doxytag: member="moltk::PDBStructure::PDBStructure" ref="abc7125f7eb265856a5feb5c711784972" args="(std::istream &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">moltk::PDBStructure::PDBStructure </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8298315b09a0e3a7f158fdebb56eb626"></a><!-- doxytag: member="moltk::PDBStructure::PDBStructure" ref="a8298315b09a0e3a7f158fdebb56eb626" args="(const std::string &amp;file_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">moltk::PDBStructure::PDBStructure </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adcf055acb239adf14d980333c89d8da0"></a><!-- doxytag: member="moltk::PDBStructure::PDBStructure" ref="adcf055acb239adf14d980333c89d8da0" args="(const PDBStructure &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">moltk::PDBStructure::PDBStructure </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmoltk_1_1PDBStructure.html">PDBStructure</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4891c9ebd0345e15da4e30086628967d"></a><!-- doxytag: member="moltk::PDBStructure::load_file" ref="a4891c9ebd0345e15da4e30086628967d" args="(const std::string &amp;file_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool moltk::PDBStructure::load_file </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a216700e937feb8857f30d1626d5ab9cf"></a><!-- doxytag: member="moltk::PDBStructure::load_stream" ref="a216700e937feb8857f30d1626d5ab9cf" args="(std::istream &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool moltk::PDBStructure::load_stream </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aa339055bdae2959af8baa08363630be5"></a><!-- doxytag: member="moltk::PDBStructure::atoms" ref="aa339055bdae2959af8baa08363630be5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmoltk_1_1PDBStructure.html#ad5de261e14b5095d93a495e27351777b">AtomList</a> <a class="el" href="classmoltk_1_1PDBStructure.html#aa339055bdae2959af8baa08363630be5">moltk::PDBStructure::atoms</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1bcb7d83816e73d4bc21fbb46ce27220"></a><!-- doxytag: member="moltk::PDBStructure::chains" ref="a1bcb7d83816e73d4bc21fbb46ce27220" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classmoltk_1_1PDBStructure_1_1Chain.html">Chain</a>&gt; <a class="el" href="classmoltk_1_1PDBStructure.html#a1bcb7d83816e73d4bc21fbb46ce27220">moltk::PDBStructure::chains</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>moltk/<a class="el" href="PDBStructure_8hpp_source.html">PDBStructure.hpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
